package com.example.jetpacktest.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.jetpacktest.room.bean.*
import com.example.jetpacktest.room.dao.*

@Database(entities = [User::class, Department::class, Employee::class
    , AUser::class, ALibrary::class, PlayList::class], version = 1)
abstract class AppDataBase : RoomDatabase(){

    abstract fun userDao(): UserDao

    abstract fun employeeDao(): EmployeeDao

    abstract fun departmentDao(): DepartmentDao

    abstract fun aUserDao(): AUserDao

    abstract fun aLibraryDao(): ALibraryDao

    abstract fun playListDao(): PlayListDao

}